package com.unknow.first.dapp.admin.account.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

/**
 * @author Administrator
 * @description 针对表【t_address_account_detail】的数据库操作Mapper
 * @createDate 2022-05-17 10:21:36
 * @Entity com.unknow.first.dapp.admin.account.mapper.AddressAccountDetail
 */
public interface AddressAccountDetailMapper extends BaseMapper<AddressAccountDetail> {

    public int insertPayLogsToAccountDetail(Map<String, Object> params);

    List<AddressAccountDetail> getPayAccountDetailFromContractLog(Map<String, Object> params);

    AddressAccountDetail getPayAccountDetailByContractLogId(Map<String, Object> params);

    List<AddressAccountDetail> queryAccountDetailHistory(Map<String, Object> params);

    /**
     * 手动更新提现订单状态为已完成
     */
    public void updateWithdrawOrderStatusSuccess(@Param("id") Long id);

    public void updateWithdrawOrderStatus();

    public void upBackupAccountDetail();
}




